package com.pine.sunshineelder.waiter.service;

import java.util.Map;

import com.pine.sunshineelder.common.dto.QueryResult;
import com.pine.sunshineelder.common.entity.ElderDoctorEntity;
import com.pine.sunshineelder.waiter.ao.ElderDoctorAo;
import com.pine.sunshineelder.waiter.vo.ElderDoctorVo;

/**
 * 
 * @author 卜涛元
 *
 */

public interface ElderDoctorService {
	/**
	  * 新增信息
	 */
	public ElderDoctorVo addElderDoctor(ElderDoctorAo ao) throws Exception;
	
	/**
	 * 查询信息（根据id）
	 */
	ElderDoctorVo selectById(String id) throws Exception;
	
    
    /**
          * 删除信息（根据Flag表示删除的状态） 0：存在   9：已删除
     */
    void deleteElderDoctorById(String id)throws Exception;
    
    /**
          * 模糊分页
     */
    QueryResult queryByKey(String key, Integer pageNo, Integer pageSize) throws Exception;
    
    /**
          *按需修改
     */
    ElderDoctorEntity modifyElderBed(String id, Map<String, String> ao) throws Exception;
}
